/**
 * Copyright(c) kyle.
 */
package org.example.tomcat.netty.business;

import org.example.tomcat.netty.basic.GPRequest;
import org.example.tomcat.netty.basic.GPResponse;
import org.example.tomcat.netty.basic.GPServlet;

/**
 * 第一个服务
 *
 * @author kyle
 * @version 1.00.00
 * @since [2020-10-20 18:16]
 * @updateUser [Kyle]
 * @updateRemark [说明本次修改内容]
 * @date [2020-10-20 18:16]
 */
public class FirstServlet extends GPServlet {
    @Override
    public void doGet(final GPRequest pRequest, final GPResponse pResponse) throws Exception {
        this.doPost(pRequest, pResponse);
    }

    @Override
    public void doPost(final GPRequest pRequest, final GPResponse pResponse) throws Exception {
        pResponse.write("这是第一个服务");
    }
}
